<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>

<!DOCTYPE html>
<html>
<head>
	<meta charset=UTF-8">
	<title>私服发布列表</title>
	<style>
		#sfPublishTable .sfname    { width: 164; }
		#sfPublishTable .sfip      { width: 100; }
		#sfPublishTable .sfdate    { width: 169; color: red; }
		#sfPublishTable .sfnet     { width:  80; }
		#sfPublishTable .sfsummary {}
		#sfPublishTable .sfqq      { width: 164; }
	</style>
</head>
    
<body>
	<div id="contents" class="container">
		<a class="btn primary" href="newsifu.action">发布自己的私服<span class="label important">免费</span></a>
		<table id="sfPublishTable" class="zebra-striped">
			<thead>
				<tr>
		            <th>名称（点击名称转至主页）</th>
		            <th>IP</th>
		            <th width="169">开区时间</th>
		            <th width="80">线路</th>
		            <th>简介</th>
		            <th width="81">联系QQ</th>
		       	</tr>
	        </thead>
	        <tbody>
	        	<s:iterator value="model"><tr>
	        		<%-- 私服名称 --%>
	        		<td class="sfname">
	        			<s:property value="name" /></td>
	        		<%-- 私服IP --%>
	        		<td class="sfip">
	        			<s:property value="ip" /></td>
	        		<%-- 私服发布时间 --%>
	        		<td class="sfdate">
	        			<s:property value="publishDateDesc" /></td>
	        		<%-- 私服网络线路 --%>
	        		<td class="sfnet">
	        			<s:property value="networkLineDesc"/></td>
	        		<%-- 私服简介 --%>
	        		<td class="sfsummary">
	        			<s:property value="summary" /></td>
	        		<%-- 私服客服QQ --%>
	        		<td class="sfqq">
	        			<s:property value="qq" /></td>
	          	</tr></s:iterator>
	        </tbody>
		</table>
	</div>
</body>
</html>